home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xvc / XSGIvcSelectInput.z / XSGIvcSelectInput
Text File  |  1998-10-30  |  19KB  |  397 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSGIvcSelectInput - select the XSGIvc extension event types
  10.           to be sent to a client.
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,,
  16.               iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,,
  17.               uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg eeeevvvveeeennnntttt____mmmmaaaasssskkkk))))
  18.  
  19.      PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
  20.           _d_i_s_p_l_a_y      Specifies the connection to the X server.
  21.  
  22.           _s_c_r_e_e_n       Specifies the screen of the X server.
  23.  
  24.           _e_v_e_n_t__m_a_s_k   Specifies the event mask. This mask is the
  25.                        bitwise OR of one or more of the valid event
  26.                        mask bits (see below).
  27.  
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt(((()))) requests that the X server XSGIvc
  31.           extension report the events associated with specified event
  32.           mask. Events are reported relative to a screen.  The XSGIvc
  33.           extension reports one type of event that can have many
  34.           subtypes each corresponding to one specific type of
  35.           selectable events for this extension.  Different events
  36.           subtypes can be selected using the eeeevvvveeeennnntttt____mmmmaaaasssskkkk parameter.
  37.  
  38.  
  39.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  40.           The bits in the event mask are defined as follow:
  41.  
  42.           #define XSGIvcVideoFormatNotifyMask          (1L << 0)
  43.           #define XSGIvcScreenInputSyncSourceNotifyMask     (1L << 1)
  44.           #define XSGIvcScreenLockStatusChangedNotifyMask   (1L << 2)
  45.           #define XSGIvcOutputGainNotifyMask      (1L << 3)
  46.           #define XSGIvcPedestalNotifyMask        (1L << 4)
  47.           #define XSGIvcPhaseHNotifyMask               (1L << 5)
  48.           #define XSGIvcPhaseSCHNotifyMask        (1L << 6)
  49.           #define XSGIvcPhaseVNotifyMask               (1L << 7)
  50.           #define XSGIvcOutputSyncNotifyMask           (1L << 8)
  51.           #define XSGIvcPlatformParamNotifyMask             (1L << 9)
  52.           #define XSGIvcGammaMapNotifyMask             (1L << 10)
  53.           #define XSGIvcBlankingNotifyMask             (1L << 11)
  54.           #define XSGIvcChannelInputRectangleNotifyMask     (1L << 12)
  55.  
  56.  
  57.           The XXXXSSSSGGGGIIIIvvvvccccVVVViiiiddddeeeeooooFFFFoooorrrrmmmmaaaattttNNNNoooottttiiiiffffyyyy event structure is defined as
  58.           follow:
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  71.  
  72.  
  73.  
  74.           typedef struct {
  75.               int type;                 /* of event */
  76.               unsigned long serial;     /* # of last request processed */
  77.               Bool send_event;          /* true if this came from a SendEvent request */
  78.               Display *display;         /* Display the event was read from */
  79.               Window root;              /* root window of the event */
  80.               int xsgivctype;           /* XSGIvcVideoFormatNotify */
  81.               Screen screen;            /* screen of the event */
  82.               int channel;              /* channel of the event */
  83.           }    XSGIvcVideoFormatEvent;
  84.  
  85.  
  86.           The XXXXSSSSGGGGIIIIvvvvccccSSSSccccrrrreeeeeeeennnnIIIInnnnppppuuuuttttSSSSyyyynnnnccccSSSSoooouuuurrrrcccceeeeNNNNoooottttiiiiffffyyyy event structure is
  87.           defined as follow:
  88.  
  89.           typedef struct {
  90.               int type;                 /* of event */
  91.               unsigned long serial;     /* # of last request processed */
  92.               Bool send_event;          /* true if this came from a SendEvent request */
  93.               Display *display;         /* Display the event was read from */
  94.               Window root;              /* root window of the event */
  95.               Screen screen;            /* screen of the event */
  96.               int xsgivctype;           /* XSGIvcScreenInputSyncSourceNotify */
  97.               int voltage;              /* nominal video voltage or TTL-level sync */
  98.               int source;               /* internal or external genlock source */
  99.           }    XSGIvcScreenInputSyncSourceEvent;
  100.  
  101.  
  102.           The XXXXSSSSGGGGIIIIvvvvccccSSSSccccrrrreeeeeeeennnnLLLLoooocccckkkkSSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddNNNNoooottttiiiiffffyyyy event structure is
  103.           defined as follow:
  104.  
  105.           typedef struct {
  106.               int type;                 /* of event */
  107.               unsigned long serial;     /* # of last request processed */
  108.               Bool send_event;          /* true if this came from a SendEvent request */
  109.               Display *display;         /* Display the event was read from */
  110.               Window root;              /* root window of the event */
  111.               int xsgivctype;           /* XSGIvcScreenLockStatusChangedNotify */
  112.               Screen screen;            /* screen of the event */
  113.               int status;                    /* achieved or lost genlock */
  114.           } XSGIvcScreenLockStatusChangedEvent;
  115.  
  116.           The server may not be able to report intervening instances
  117.           of rapidly changing lock state and therefore may report two
  118.           consecutive instances of the same state; client programs
  119.           must check the value of the status variable to determine the
  120.           state of the lock.
  121.  
  122.           The XXXXSSSSGGGGIIIIvvvvccccOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnnNNNNoooottttiiiiffffyyyy event structure is defined as
  123.           follow:
  124.  
  125.           typedef struct {
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  137.  
  138.  
  139.  
  140.               int type;                 /* of event */
  141.               unsigned long serial;     /* # of last request processed */
  142.               Bool send_event;          /* true if this came from a SendEvent request */
  143.               Display *display;         /* Display the event was read from */
  144.               Window root;              /* root window of the event */
  145.               int xsgivctype;           /* XSGIvcOutputGainNotify */
  146.               Screen screen;            /* screen of the event */
  147.               int channel;              /* channel of the event */
  148.               int component;            /* RGBA component */
  149.               int value;                /* gain new value */
  150.           }    XSGIvcOutputGainEvent;
  151.  
  152.  
  153.           The XXXXSSSSGGGGIIIIvvvvccccPPPPeeeeddddeeeessssttttaaaallllNNNNoooottttiiiiffffyyyy event structure is defined as
  154.           follow:
  155.  
  156.           typedef struct {
  157.               int type;                 /* of event */
  158.               unsigned long serial;     /* # of last request processed */
  159.               Bool send_event;          /* true if this came from a SendEvent request */
  160.               Display *display;         /* Display the event was read from */
  161.               Window root;              /* root window of the event */
  162.               int xsgivctype;           /* XSGIvcPedestalNotify */
  163.               Screen screen;            /* screen of the event */
  164.               int channel;              /* channel of the event */
  165.               Bool enable;              /* true if pedesta is enabled */
  166.           }    XSGIvcPedestalEvent;
  167.  
  168.  
  169.           The XXXXSSSSGGGGIIIIvvvvccccPPPPhhhhaaaasssseeeeHHHHNNNNoooottttiiiiffffyyyyMMMMaaaasssskkkk event structure is defined as
  170.           follow:
  171.  
  172.           typedef struct {
  173.               int type;                 /* of event */
  174.               unsigned long serial;     /* # of last request processed */
  175.               Bool send_event;          /* true if this came from a SendEvent request */
  176.               Display *display;         /* Display the event was read from */
  177.               Window root;              /* root window  of the event */
  178.               int xsgivctype;           /* XSGIvcPhaseHEvent */
  179.               Screen screen;            /* screen of the event */
  180.               int channel;              /* channel of the event */
  181.               int value;                /* horizontal phase new value */
  182.           }    XSGIvcPhaseHEvent;
  183.  
  184.  
  185.           The XXXXSSSSGGGGIIIIvvvvccccPPPPhhhhaaaasssseeeeSSSSCCCCHHHHNNNNoooottttiiiiffffyyyy event structure is defined as
  186.           follow:
  187.  
  188.           typedef struct {
  189.               int type;                 /* of event */
  190.               unsigned long serial;     /* # of last request processed */
  191.               Bool send_event;          /* true if this came from a SendEvent request */
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 4/30/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  203.  
  204.  
  205.  
  206.               Display *display;         /* Display the event was read from */
  207.               Window root;              /* root window of the event */
  208.               int xsgivctype;           /* XSGIvcPhaseSCHEvent */
  209.               Screen screen;            /* screen of the event */
  210.               int channel;              /* channel of the event */
  211.               int value;                /* subcarrier horizontal phase new value */
  212.           }    XSGIvcPhaseSCHEvent;
  213.  
  214.  
  215.           The XXXXSSSSGGGGIIIIvvvvccccPPPPhhhhaaaasssseeeeVVVVNNNNoooottttiiiiffffyyyy event structure is defined as follow:
  216.  
  217.           typedef struct {
  218.               int type;                 /* of event */
  219.               unsigned long serial;     /* # of last request processed */
  220.               Bool send_event;          /* true if this came from a SendEvent request */
  221.               Display *display;         /* Display the event was read from */
  222.               Window root;              /* root window of the event */
  223.               int xsgivctype;           /* XSGIvcPhaseVNotify */
  224.               Screen screen;            /* screen of the event */
  225.               int channel;              /* channel of the event */
  226.               int value;                /* subcarrier vertical phase new value */
  227.           }    XSGIvcPhaseVEvent;
  228.  
  229.  
  230.           The XXXXSSSSGGGGIIIIvvvvccccOOOOuuuuttttppppuuuuttttSSSSyyyynnnnccccNNNNoooottttiiiiffffyyyy event structure is defined as
  231.           follow:
  232.  
  233.           typedef struct {
  234.               int type;                 /* of event */
  235.               unsigned long serial;     /* # of last request processed */
  236.               Bool send_event;          /* true if this came from a SendEvent request */
  237.               Display *display;         /* Display the event was read from */
  238.               Window root;              /* root window of the event */
  239.               int xsgivctype;           /* XSGIvcOutputSyncNotify */
  240.               Screen screen;            /* screen of the event */
  241.               int channel;              /* channel of the event */
  242.               int syncPortIndex;        /* port index */
  243.               int syncType;        /* sync type */
  244.           }    XSGIvcOutputSyncEvent;
  245.  
  246.  
  247.           The XXXXSSSSGGGGIIIIvvvvccccPPPPllllaaaattttffffoooorrrrmmmmPPPPaaaarrrraaaammmmNNNNoooottttiiiiffffyyyy event structure is defined as
  248.           follow:
  249.  
  250.           typedef struct {
  251.               int type;                 /* of event */
  252.               unsigned long serial;     /* # of last request processed */
  253.               Bool send_event;          /* true if this came from a SendEvent request */
  254.               Display *display;         /* Display the event was read from */
  255.               Window root;              /* root window of the event */
  256.               int xsgivctype;           /* XSGIvcPlatformParamNotify */
  257.               Screen screen;            /* screen of the event */
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 4/30/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  269.  
  270.  
  271.  
  272.               int channel;              /* channel of the event */
  273.               int parameterId;               /* Id of the device specif parameter */
  274.           }    XSGIvcPlatformParamEvent;
  275.  
  276.  
  277.           The XXXXSSSSGGGGIIIIvvvvccccGGGGaaaammmmmmmmaaaaMMMMaaaappppNNNNoooottttiiiiffffyyyy event structure is defined as
  278.           follow:
  279.  
  280.           typedef struct {
  281.               int type;                 /* of event */
  282.               unsigned long serial;     /* # of last request processed */
  283.               Bool send_event;          /* true if this came from a SendEvent request */
  284.               Display *display;         /* Display the event was read from */
  285.               Window root;              /* root window of the event */
  286.               int xsgivctype;           /* XSGIvcGammaMapNotify */
  287.               Screen screen;            /* screen of the event */
  288.               int channel;              /* channel of the event */
  289.               int mapid;                /* gamma map id number */
  290.           }    XSGIvcGammaMapEvent;
  291.  
  292.  
  293.           The XXXXSSSSGGGGIIIIvvvvccccBBBBllllaaaannnnkkkkiiiinnnnggggNNNNoooottttiiiiffffyyyy event structure is defined as
  294.           follow:
  295.  
  296.           typedef struct {
  297.               int type;                 /* of event */
  298.               unsigned long serial;     /* # of last request processed */
  299.               Bool send_event;          /* true if this came from a SendEvent request */
  300.               Display *display;         /* Display the event was read from */
  301.               Window root;              /* root window of the event */
  302.               int xsgivctype;           /* XSGIvcBlankingNotify */
  303.               Screen screen;            /* screen of the event */
  304.               int channel;              /* channel of the event */
  305.               int enable;                    /* true if blanking enabled */
  306.           }    XSGIvcBlankingEvent;
  307.  
  308.  
  309.           The XXXXSSSSGGGGIIIIvvvvccccCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeeeNNNNoooottttiiiiffffyyyy event structure is
  310.           defined as follow:
  311.  
  312.           typedef struct {
  313.               int type;                 /* of event */
  314.               unsigned long serial;     /* # of last request processed */
  315.               Bool send_event;          /* true if this came from a SendEvent request */
  316.               Display *display;         /* Display the event was read from */
  317.               Window root;              /* root window of the event */
  318.               int xsgivctype;           /* XSGIvcChannelInputRectangleNotify */
  319.               Screen screen;            /* screen of the event */
  320.               int channel;              /* channel of the event */
  321.               XSGIvcRectangle rct;      /* set rectangle */
  322.           }    XSGIvcChannelInputRectangleEvent;
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                                          (printed 4/30/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))                         XXXXSSSSGGGGIIIIvvvvccccSSSSeeeelllleeeeccccttttIIIInnnnppppuuuutttt((((3333))))
  335.  
  336.  
  337.  
  338.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  339.           Parameter errors are reported via BBBBaaaaddddVVVVaaaalllluuuueeee
  340.  
  341.  
  342.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  343.           XSGIvc, XSGIvcLoadVideoFormat,
  344.           XSGIvcSetScreenInputSyncSource, XSGIvcSetOutputGain,
  345.           XSGIvcSetOutputPedestal, XSGIvcSetOutputPhaseH,
  346.           XSGIvcSetOutputPahseSCH, XSGIvcSetOutputPhaseV,
  347.           XSGIvcSetOutputSync, XSGIvcSetPlatformParameter,
  348.           XSGIvcSetOutputBlanking, XSGIvcSetChannelGammaMap
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.      Page 6                                          (printed 4/30/98)
  394.  
  395.  
  396.  
  397.